package com.bytime.uams.adminmanage.action;

import org.apache.struts.action.*;
import javax.servlet.http.*;

public class AdminManage001Form extends ActionForm
{
	private String id = "";
	private String userID = "";
	private String userName = "";
	private String password = "";
	private String description = "";
	private String department = "";
	private String searchDepartment ="";
	private String[] departmentName = null;
	private String[] departmentID = null;
	private String[] adminCheck = null;

	private String pageNo = "";
	private String colCount = "";
	private String pageCount = "";
	private String method = "";
	private boolean first;
	private boolean last;
    
    private String strSysException = "no";

	public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest httpServletRequest)
	{
		/**@todo: finish this method, this is just the skeleton.*/
		return null;
	}

	public void reset(ActionMapping actionMapping, HttpServletRequest httpServletRequest)
	{
	}

	public String getUserID()
	{
		return userID;
	}

	public void setUserID(String userID)
	{
		this.userID = userID;
	}

	public String getUserName()
	{
		return userName;
	}

	public void setUserName(String userName)
	{
		this.userName = userName;
	}

	public String getPassword()
	{
		return password;
	}

	public void setPassword(String password)
	{
		this.password = password;
	}

	public String getDescription()
	{
		return description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public String[] getDepartmentID()
	{
		return departmentID;
	}

	public void setDepartmentID(String[] departmentID)
	{
		this.departmentID = departmentID;
	}

	public String getDepartment()
	{
		return department;
	}

	public String[] getDepartmentName()
	{
		return departmentName;
	}

	public void setDepartment(String department)
	{
		this.department = department;
	}

	public void setDepartmentName(String[] departmentName)
	{
		this.departmentName = departmentName;
	}

	public String getId()
	{
		return id;
	}

	public void setId(String id)
	{
		this.id = id;
	}

	/**
	 * @return
	 */
	public String getColCount()
	{
		return colCount;
	}

	/**
	 * @return
	 */
	public boolean isFirst()
	{
		return first;
	}

	/**
	 * @return
	 */
	public boolean isLast()
	{
		return last;
	}

	/**
	 * @return
	 */
	public String getPageCount()
	{
		return pageCount;
	}

	/**
	 * @return
	 */
	public String getPageNo()
	{
		return pageNo;
	}

	/**
	 * @param string
	 */
	public void setColCount(String string)
	{
		colCount = string;
	}

	/**
	 * @param b
	 */
	public void setFirst(boolean b)
	{
		first = b;
	}

	/**
	 * @param b
	 */
	public void setLast(boolean b)
	{
		last = b;
	}

	/**
	 * @param string
	 */
	public void setPageCount(String string)
	{
		pageCount = string;
	}

	/**
	 * @param string
	 */
	public void setPageNo(String string)
	{
		pageNo = string;
	}

	/**
	 * @return
	 */
	public String getMethod()
	{
		return method;
	}

	/**
	 * @param string
	 */
	public void setMethod(String string)
	{
		method = string;
	}

	/**
	 * @return
	 */
	public String[] getAdminCheck()
	{
		return adminCheck;
	}

	/**
	 * @param strings
	 */
	public void setAdminCheck(String[] strings)
	{
		adminCheck = strings;
	}

	/**
	 * @return
	 */
	public String getSearchDepartment()
	{
		return searchDepartment;
	}

	/**
	 * @param string
	 */
	public void setSearchDepartment(String string)
	{
		searchDepartment = string;
	}

	/**
	 * @return
	 */
	public String getStrSysException()
	{
		return strSysException;
	}

	/**
	 * @param string
	 */
	public void setStrSysException(String string)
	{
		strSysException= string;
	}

}
